package com.example.ssmxuankeback.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "UserVO", description = "用户视图对象")
public class UserVO {
    //vo没有密码

    @Schema(description = "学工号")
    private Long id;

    @Schema(description = "用户姓名")
    private String name;

    @Schema(description = "性别(0-女,1-男)")
    private Integer gender;

    @Schema(description = "用户类型(0-学生,1-老师)")
    private Integer userType;

    @Schema(description = "班级编号（学生-所属班级，老师-所管班级）")
    private Integer classId;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    private LocalDateTime updateTime;
}